package Day02;

public class HomeWork {
    public static void main(String[] args) {
        int a=1;
        int b=2;
        int c=3;
        int d=4;
        int f;
        int e;
        int l;
        int j;
        int op;
        int rs,ts,is,os,ps;
        int qw,qe,qr,qt,qo,qi;
        long js,oss,pos,dspp,pqs;
        double jj,jn,jm,jb,jv,jx,jxz;
        char uu,hh,dd,bb,cc,xx;
        boolean uuq,yyuq,hqid,qdq;
        long _q=1000,_w=9090,_e=82728,_r=7727;
        double a0_0=3.14,a0_1=9.23,a0_2=5.78;
        char q1='*',q2='/',q3='>';
        boolean w1=true,w2=false;
        uuq=true;yyuq=false;hqid=true;qdq=true;
        int g;
        g=3;
        int h=g+10;
        System.out.println(h);
        g=g+10;
        System.out.println(g);
        g+=10;
        System.out.println(g);
        int num1=1021,num2=0617;
        int num3=num1/num2;
        System.out.println(num3);
        int num4=137971371,num5=1368136686;//运算溢出
        int num6=num4+num5;
        System.out.println(num6);
        long l1=99999999999L,l2=813916537519151397L;
        long l3=200008878664334L+199991;
        long l4=73177L+74474;
        long l5=5;
        long l6=2000000000000L;
        System.out.println(900000000L*4*10+l6);
        double d1=75.3,d2=86.45,d3=123.321,d4=98.9,d5=78.211;
        int i1=(int)d1;
        System.out.println(i1);//精度丢失
        double d6=40.0,d7=39.5;
        double d8=d6-d7;
        System.out.println(d8);
        double d9=0.1;
        double d10=d6-d9;
        System.out.println(d10);
        double d11=39.9;
        double d12=d6-d11;
        System.out.println(d12);
        char gender1='男';
        char gender2='女';
        char letter='A';
        char letter1='a';
        char digit='0';
        char symbol='\'';
        char symbol1='\\';
        System.out.println(gender2+gender1);
        int variable=1314;
        long variable1=variable;//自转
        int variable2=(int)variable1;//强转
        int variable3=886,variable4=2121,variable5=781;
        long variable6=variable3 +variable4 ;//小转大，自动转
        System.out.println(variable6);
        long variable7=9999999999999L;
        int variable8=(int)variable7;
        System.out.println(variable8);
        double decimalFraction1=3.1415926;
        int variable9=(int)decimalFraction1;
        System.out.println(variable9);
        byte variable10=77;
        byte variable11=121;
        byte variable12=(byte)(variable11 +variable10);
        System.out.println(variable12);
        byte b1=3,b2=3;
        byte b3=(byte)(b1+b2);
        System.out.println(10+10);
        System.out.println(10+'2');
        System.out.println('7'+'9');















    }
}
